import Login from "../pages/Login/Login"
import Register from "../pages/Register/Register"
import Home from "../pages/Home/Home"
import NotFind from "../pages/NotFind"
let routes = [
  { path: "/login", name: "Login", component: Login },
  { path: "/register", name: "Register", component: Register },
  { path: "/home", name: "Home", component: Home, auth: true },
  { path: "/home/user", name: "Home", component: Home, auth: true },
  { path: "/home/role", name: "Home", component: Home, auth: true },
  { path: "/home/product/list", name: "Home", component: Home, auth: true },
  { path: "/home/product/category", name: "Home", component: Home, auth: true },
  { path: "/home/datav/flowers", name: "Home", component: Home, auth: true },
  { path: "/404", name: "404", component: NotFind },
]

export default routes